package cehadata;

import javax.swing.JDesktopPane;
import javax.swing.JInternalFrame;

public class FicheFrame extends javax.swing.JFrame {

    public FicheFrame() {
        initComponents();

    }

    public JDesktopPane getDesktop() {
        return desktop;
    }

    public JInternalFrame getFiche() {
        return fiche;
    }

    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        desktop = new javax.swing.JDesktopPane();
        fiche = new javax.swing.JInternalFrame();
        jInternalFrame4 = new javax.swing.JInternalFrame();
        jLabel2 = new javax.swing.JLabel();

        setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);

        fiche.setIconifiable(true);
        fiche.setResizable(true);
        fiche.setTitle("FICHE");
        fiche.setVisible(true);

        javax.swing.GroupLayout ficheLayout = new javax.swing.GroupLayout(fiche.getContentPane());
        fiche.getContentPane().setLayout(ficheLayout);
        ficheLayout.setHorizontalGroup(
            ficheLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 401, Short.MAX_VALUE)
        );
        ficheLayout.setVerticalGroup(
            ficheLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 585, Short.MAX_VALUE)
        );

        fiche.setBounds(10, 10, 410, 620);
        desktop.add(fiche, javax.swing.JLayeredPane.DEFAULT_LAYER);

        jInternalFrame4.setIconifiable(true);
        jInternalFrame4.setResizable(true);
        jInternalFrame4.setTitle("APERCU");
        jInternalFrame4.setVisible(true);

        jLabel2.setIcon(new javax.swing.ImageIcon(getClass().getResource("/ceha/ressource/logoCEHA.jpg")));

        javax.swing.GroupLayout jInternalFrame4Layout = new javax.swing.GroupLayout(jInternalFrame4.getContentPane());
        jInternalFrame4.getContentPane().setLayout(jInternalFrame4Layout);
        jInternalFrame4Layout.setHorizontalGroup(
            jInternalFrame4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jInternalFrame4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel2)
                .addContainerGap(298, Short.MAX_VALUE))
        );
        jInternalFrame4Layout.setVerticalGroup(
            jInternalFrame4Layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(jInternalFrame4Layout.createSequentialGroup()
                .addContainerGap()
                .addComponent(jLabel2)
                .addContainerGap(270, Short.MAX_VALUE))
        );

        jInternalFrame4.setBounds(440, 300, 317, 316);
        desktop.add(jInternalFrame4, javax.swing.JLayeredPane.DEFAULT_LAYER);

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
        getContentPane().setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(desktop, javax.swing.GroupLayout.DEFAULT_SIZE, 784, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(layout.createSequentialGroup()
                .addComponent(desktop, javax.swing.GroupLayout.PREFERRED_SIZE, 686, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(19, Short.MAX_VALUE))
        );

        pack();
    }// </editor-fold>//GEN-END:initComponents
    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JDesktopPane desktop;
    private javax.swing.JInternalFrame fiche;
    private javax.swing.JInternalFrame jInternalFrame4;
    private javax.swing.JLabel jLabel2;
    // End of variables declaration//GEN-END:variables
}
